﻿
using System;
using System.Collections.Generic;
using System.Data;
using QLKS.Entity;

namespace QLKS.DAL
{
    public class ChiTietHoaDonBUS
    {
        private static ChiTietHoaDonDAO dao = new ChiTietHoaDonDAO();

        public static List<ChiTietHoaDon> GetByAll(ChiTietHoaDon obj)
        {
            return dao.GetByAll(obj);
        }

        public static bool Insert(ChiTietHoaDon obj)
        {
            return dao.Insert(obj);
        }

        public static bool Update(ChiTietHoaDon obj)
        {
            return dao.Update(obj);
        }

        public static bool Delete(ChiTietHoaDon obj)
        {
            return dao.Delete(obj);
        }
    }
}
